﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElPrimeroElMejor
{
    public class Distancias
    {
        int[,] dist = new int[7, 7] {{0,4,5,3,0,0,0}, 
                                        {4,0,3,0,6,0,0}, 
                                        {5,3,0,2,4,5,25}, 
                                        {3,0,2,0,0,7,0}, 
                                        {0,6,4,0,0,6,7}, 
                                        {0,0,5,7,6,0,8}, 
                                        {0,0,25,0,7,8,0}};

        public int DevuelveDistancia(int nodoO, int nodoD)
        {
            return dist[nodoO, nodoD];
        }
    }
}
